/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pl.equipo13.p10.tree;

import org.antlr.runtime.Token;
import org.antlr.runtime.tree.CommonTreeAdaptor;

public class MiArbolAdaptor extends CommonTreeAdaptor {
    String fichero;
    
    public MiArbolAdaptor(String nfichero) {
        super();
        fichero = nfichero;
    }
    @Override
    public Object create(Token payload) {
        return new MiArbol(payload,fichero);
    }
    
    public void setNFichero(String fich) { fichero = fich; }
}
